#include <iostream>
#include <string>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

const char *filename = "./fifo.ipc";
#define MODE 0666

#define Debug 0
#define Notice 1
#define Warning 2
#define Error 3

const std::string Message[] = {
    "Debug", 
    "Notice", 
    "Warning",
    "Error"
};

std::ostream& Log(const char* str, int Mes)
{
    std::cout << " | " << str << " | " << Message[0] << " | ";
    return std::cout;
}